<?php /* Smarty version Smarty-3.1.14, created on 2017-08-21 09:59:14
         compiled from "E:\phpStudy\WWW\zyshop\admin\templates\payment_edit.html" */ ?>
<?php /*%%SmartyHeaderCode:2470059965dd4143ce1-92553421%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '880e4eda37b4e8a3582dc6eb53807ba18e477523' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\zyshop\\admin\\templates\\payment_edit.html',
      1 => 1503280745,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2470059965dd4143ce1-92553421',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_59965dd42da2e4_53746226',
  'variables' => 
  array (
    'pay' => 0,
    'paycon' => 0,
    'con' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_59965dd42da2e4_53746226')) {function content_59965dd42da2e4_53746226($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<style>
td {font-weight: bold;}
.firtd {	width: 100px;	padding-right: 12px;	text-align: right;}
textarea {	width: 300px;	height: 100px;}
.button{ width:82px; height:32px; font-size:12px;}
.span{width: 120px;}
</style>
<body>
<div class="fixed-bar">
  <div class="item-title">
    <h3>编辑支付方式</h3>
  </div>
</div> 
<div class="fixed_bottom">
	<form method="post" action="payment.php" id="aspnetForm" name="form1">
       <table cellpadding="0" cellspacing="0" class="table tb-type2">
      	  <tbody>
      	  	<tr>
    			<td class="firtd">支付方式名称 :</td>
    			<td><input name="pay_name" type="text" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['pay']->value['pay_name'], ENT_QUOTES, 'UTF-8', true);?>
" size="40" /></td>
  			</tr>
  			<tr>
    			<td class="firtd">支付方式描述 :</td>
    			<td ><textarea name="pay_desc" cols="50" rows="8" style="height:120px"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['pay']->value['pay_desc'], ENT_QUOTES, 'UTF-8', true);?>
</textarea></td>
 		    </tr>
            <?php  $_smarty_tpl->tpl_vars['con'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['con']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['paycon']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['con']->key => $_smarty_tpl->tpl_vars['con']->value){
$_smarty_tpl->tpl_vars['con']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['con']->key;
?>
            <tr>
    			<td class="firtd">
       			<?php echo $_smarty_tpl->tpl_vars['con']->value['name'];?>

                </td>
    			<td>
                <?php if ($_smarty_tpl->tpl_vars['con']->value['type']=="text"){?> 
              <input name="cfg_value[]" type="<?php echo $_smarty_tpl->tpl_vars['con']->value['type'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['con']->value['value'];?>
" size="40" /><br />
               <?php }elseif($_smarty_tpl->tpl_vars['con']->value['type']=="select"){?> 
              <select name="cfg_value[]" style="width:250px"> 
               <option value="0" <?php if ($_smarty_tpl->tpl_vars['con']->value['value']=='0'){?>selected=selected<?php }?>> 使用标准双接口</option>
               <option value="1" <?php if ($_smarty_tpl->tpl_vars['con']->value['value']=='1'){?>selected=selected<?php }?>>使用担保交易接口</option>
               <option value="2" <?php if ($_smarty_tpl->tpl_vars['con']->value['value']=='2'){?>selected=selected<?php }?>>使用即时到账交易接口</option>
              </select><br />
              <p style="font-size:12px;color:#666;font-weight:100"> 请选择您最后一次跟支付宝签订的协议里面说明的接口类型 </p>
              <?php }?>
              <input name="cfg_name[]" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['con']->value['name'];?>
" />
      		  <input name="cfg_type[]" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['con']->value['type'];?>
" />
                </td>
  			</tr>
            <?php } ?>
            <tr>
    			<td class="firtd">支付手续费 :</td>
    			<td><input name="pay_fee" type="text" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['pay']->value['pay_fee'], ENT_QUOTES, 'UTF-8', true);?>
" size="40" /></td>
  			</tr>
  <tr>
    <td class="firtd">货到付款 :</td>
    <td><?php if ($_smarty_tpl->tpl_vars['pay']->value['is_cod']=="1"){?>是<?php }else{ ?>否<?php }?></td>
  </tr>
  <tr>
    <td class="firtd">在线支付 :</td>
    <td><?php if ($_smarty_tpl->tpl_vars['pay']->value['is_online']=="1"){?>是<?php }else{ ?>否<?php }?></td>
  </tr>
  <tr>
  <td >&nbsp;</td>
    <td colspan="2">
      <input type="hidden"  name="pay_id"       value="<?php echo $_smarty_tpl->tpl_vars['pay']->value['pay_id'];?>
"/>
      <input type="hidden"  name="pay_code"     value="<?php echo $_smarty_tpl->tpl_vars['pay']->value['pay_code'];?>
"/>
      <input type="hidden"  name="is_cod"       value="<?php echo $_smarty_tpl->tpl_vars['pay']->value['is_cod'];?>
"/>
      <input type="hidden"  name="is_online"    value="<?php echo $_smarty_tpl->tpl_vars['pay']->value['is_online'];?>
" />
      <input type="hidden"  name="act"    value="Submit" />
      
      <input  type="submit" class="button" name="Submit" value="确定" />
      <input   type="reset" class="button"  name="Reset"        value="重置" />
    </td>
  </tr>
      	  
   </tbody>
  </table>
   </form>
</div>
</body>
</html><?php }} ?>